package com.example.pojo;


//商品实体类
public class Ent {
    //编号
    private int id;
    //商品名称
    private String name;
    //数量
    private int workingLife;
    //进价
    private String workExperience;
    //售价
    private String personalProfile;
    private int departmentId;
    private String graduateSchool;

    //无参构造方法
    public Ent() {
    }
    //有参构造方法
    public Ent(int id, String name, int workingLife, String workExperience, String personalProfile, int departmentId, String graduateSchool) {
        this.id = id;
        this.name = name;
        this.workingLife = workingLife;
        this.workExperience = workExperience;
        this.personalProfile = personalProfile;
        this.departmentId = departmentId;
        this.graduateSchool = graduateSchool;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getWorkingLife() {
        return workingLife;
    }

    public void setWorkingLife(int workingLife) {
        this.workingLife = workingLife;
    }

    public String getWorkExperience() {
        return workExperience;
    }

    public void setWorkExperience(String workExperience) {
        this.workExperience = workExperience;
    }

    public String getPersonalProfile() {
        return personalProfile;
    }

    public void setPersonalProfile(String personalProfile) {
        this.personalProfile = personalProfile;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public String getGraduateSchool() {
        return graduateSchool;
    }

    public void setGraduateSchool(String graduateSchool) {
        this.graduateSchool = graduateSchool;
    }
}
